<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>let 命令</title>
<script>
// ES5 语法对多个变量赋值
let x = 1;
let y = 2;
let z = 3;
//在 ES6 的语法中的数组解构赋值
let [x1, y1, z1] = [1, 2, 3];
console.log(x, xl); //1,1
console.log(y, y1); //2,2
 console.log(z, zl); //3,3
 </script>
 </head>
 <body></body>
 </html>